package com.sannuo.common.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("scc_drugstore")
public class DrugStore implements Serializable {
    private static final long serialVersionUID = 484366871813071969L;

    private Integer storeId; // 药店id
    private String storeName; // 药店名
    private String storeCode; // 药店编号
    private String customerCode; // 客户编号
    private Integer provinceCode; // 省编码
    private String province; // 省
    private Integer cityCode; // 市编码
    private String city; // 市
    private Integer countyCode; // 区/县编码
    private String county; // 区/县
    private String addressDetail; // 详细地址

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime; // 创建时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime; // 修改时间
}
